<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>DigestUtils | hinny-js</title>
	<meta name="description" content="Documentation for hinny-js">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">hinny-js</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_core_digestutils_.html">&quot;core/DigestUtils&quot;</a>
				</li>
				<li>
					<a href="_core_digestutils_.digestutils.html">DigestUtils</a>
				</li>
			</ul>
			<h1>Interface DigestUtils</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">DigestUtils</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_core_digestutils_.digestutils.html#generatehmacsha1key" class="tsd-kind-icon">generate<wbr>Hmac<wbr>Sha1<wbr>Key</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_core_digestutils_.digestutils.html#generatesalt" class="tsd-kind-icon">generate<wbr>Salt</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_core_digestutils_.digestutils.html#hmacsha1" class="tsd-kind-icon">hmac<wbr>Sha1</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_core_digestutils_.digestutils.html#ishmacsha1valid" class="tsd-kind-icon">is<wbr>Hmac<wbr>Sha1<wbr>Valid</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_core_digestutils_.digestutils.html#md5" class="tsd-kind-icon">md5</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_core_digestutils_.digestutils.html#sha1" class="tsd-kind-icon">sha1</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="generatehmacsha1key" class="tsd-anchor"></a>
					<h3>generate<wbr>Hmac<wbr>Sha1<wbr>Key</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">generate<wbr>Hmac<wbr>Sha1<wbr>Key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>生成HMAC-SHA1密钥,返回字节数组,长度为160位(20字节).<br/>
									HMAC-SHA1算法对密钥无特殊要求,RFC2401建议最少长度为160位(20字节).<br/></p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>HMAC-SHA1密钥,长度为160位(20字节)</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="generatesalt" class="tsd-anchor"></a>
					<h3>generate<wbr>Salt</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">generate<wbr>Salt<span class="tsd-signature-symbol">(</span>numBytes<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jint" class="tsd-signature-type">JInt</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>生成随机的Byte[]作为salt<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>numBytes: <a href="../modules/_types_java_lang_jobject_d_.html#jint" class="tsd-signature-type">JInt</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>JByte数组的大小</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="hmacsha1" class="tsd-anchor"></a>
					<h3>hmac<wbr>Sha1</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">hmac<wbr>Sha1<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, key<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>使用HMAC-SHA1进行消息签名, 返回字节数组,长度为20字节.<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>input: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>原始输入字符数组</p>
									</div>
								</li>
								<li>
									<h5>key: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>HMAC-SHA1密钥</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>返回字节数组, 长度为20字节</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="ishmacsha1valid" class="tsd-anchor"></a>
					<h3>is<wbr>Hmac<wbr>Sha1<wbr>Valid</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Hmac<wbr>Sha1<wbr>Valid<span class="tsd-signature-symbol">(</span>expected<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, input<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, key<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jboolean" class="tsd-signature-type">JBoolean</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>校验HMAC-SHA1签名是否正确.<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>expected: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>已存在的签名</p>
									</div>
								</li>
								<li>
									<h5>input: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>原始输入字符串</p>
									</div>
								</li>
								<li>
									<h5>key: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>密钥</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jboolean" class="tsd-signature-type">JBoolean</a></h4>
							<p>正确返回true，错误返回false</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="md5" class="tsd-anchor"></a>
					<h3>md5</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">md5<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon">md5<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, salt<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon">md5<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, salt<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, iterations<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jint" class="tsd-signature-type">JInt</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon">md5<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><a href="_types_java_io_jinputstream_d_.jinputstream.html" class="tsd-signature-type">JInputStream</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对数据进行md5散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>data: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列后的数据</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对数据进行md5散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>data: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
								<li>
									<h5>salt: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>散列盐</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列后的数据</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对数据进行md5散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>data: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
								<li>
									<h5>salt: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>散列盐</p>
									</div>
								</li>
								<li>
									<h5>iterations: <a href="../modules/_types_java_lang_jobject_d_.html#jint" class="tsd-signature-type">JInt</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>迭代次数</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列后的数据</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对文件进行md5散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>input: <a href="_types_java_io_jinputstream_d_.jinputstream.html" class="tsd-signature-type">JInputStream</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>输入流</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>md5散列值</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="sha1" class="tsd-anchor"></a>
					<h3>sha1</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">sha1<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon">sha1<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, salt<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon">sha1<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, salt<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span>, iterations<span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jint" class="tsd-signature-type">JInt</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon">sha1<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><a href="_types_java_io_jinputstream_d_.jinputstream.html" class="tsd-signature-type">JInputStream</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对数据进行sha1散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>data: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列后的数据</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对数据进行sha1散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>data: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
								<li>
									<h5>salt: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>散列盐</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列后的数据</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对数据进行sha1散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>data: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
								<li>
									<h5>salt: <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>散列盐</p>
									</div>
								</li>
								<li>
									<h5>iterations: <a href="../modules/_types_java_lang_jobject_d_.html#jint" class="tsd-signature-type">JInt</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>迭代次数</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列后的数据</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>对文件进行sha1散列<br/></p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>input: <a href="_types_java_io_jinputstream_d_.jinputstream.html" class="tsd-signature-type">JInputStream</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>输入流</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules/_types_java_lang_jobject_d_.html#jbyte" class="tsd-signature-type">JByte</a><span class="tsd-signature-symbol">[]</span></h4>
							<p>sha1散列值</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_core_digestutils_.html">&quot;core/<wbr>Digest<wbr>Utils&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-interface tsd-parent-kind-module">
						<a href="_core_digestutils_.digestutils.html" class="tsd-kind-icon">Digest<wbr>Utils</a>
						<ul>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="_core_digestutils_.digestutils.html#generatehmacsha1key" class="tsd-kind-icon">generate<wbr>Hmac<wbr>Sha1<wbr>Key</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="_core_digestutils_.digestutils.html#generatesalt" class="tsd-kind-icon">generate<wbr>Salt</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="_core_digestutils_.digestutils.html#hmacsha1" class="tsd-kind-icon">hmac<wbr>Sha1</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="_core_digestutils_.digestutils.html#ishmacsha1valid" class="tsd-kind-icon">is<wbr>Hmac<wbr>Sha1<wbr>Valid</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="_core_digestutils_.digestutils.html#md5" class="tsd-kind-icon">md5</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="_core_digestutils_.digestutils.html#sha1" class="tsd-kind-icon">sha1</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-variable tsd-parent-kind-module">
						<a href="../modules/_core_digestutils_.html#digestutils-1" class="tsd-kind-icon">digest<wbr>Utils</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>